package com.movie.bean;

import lombok.Data;

@Data
public class TicketOrder {
    private int amount;
    private String number;
    private Movie movie;
    private User user;
    private Session session;
    private int total;
    private int status;
    private String seat;
    private String buyTime;
    private String room;

    private Integer delFlag;

    private long expireTime;
    private String expireStr;
    public TicketOrder() {
    }

    public TicketOrder(int amount, String number, Movie movie, User user, Session session, int total, int status, String seat, String buyTime, String room, long expireTime, String expireStr) {
        this.amount = amount;
        this.number = number;
        this.movie = movie;
        this.user = user;
        this.session = session;
        this.total = total;
        this.status = status;
        this.seat = seat;
        this.buyTime = buyTime;
        this.room = room;
        this.expireTime = expireTime;
        this.expireStr = expireStr;
    }

}
